package com.infore.dataAudit.entity;

import java.io.Serializable;
import javax.persistence.*;

import org.hibernate.annotations.GenericGenerator;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;


/**
 * The persistent class for the T_DATA_AUDIT_DETAIL database table.
 * 
 */
@Entity
@Table(name="T_DATA_AUDIT_DETAIL")
@NamedQuery(name="TDataAuditDetail.findAll", query="SELECT t FROM TDataAuditDetail t")
public class TDataAuditDetail implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ID")
	@GeneratedValue(generator = "uuidGenerator")
    @GenericGenerator(name = "uuidGenerator", strategy = "uuid") // UUID生成策略
	private String id;

	@Column(name="AUDIT_CON_DESC")
	private String auditConDesc;

	@Column(name="AUDIT_DESC")
	private String auditDesc;

	@Column(name="AUDIT_STATUS")
	private String auditStatus;

	@Column(name="AUDIT_USER")
	private String auditUser;
	
	@JsonIgnoreProperties(value = {"auditDetailsList"})
	@ManyToOne(fetch = FetchType.LAZY)
    @JoinColumn(name="DATA_AUDIT_ID")
	private TDataAudit dataAudit;

	@Column(name="TASK_NAME")
	private String taskName;
	
	

	public TDataAuditDetail() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAuditConDesc() {
		return this.auditConDesc;
	}

	public void setAuditConDesc(String auditConDesc) {
		this.auditConDesc = auditConDesc;
	}

	public String getAuditDesc() {
		return this.auditDesc;
	}

	public void setAuditDesc(String auditDesc) {
		this.auditDesc = auditDesc;
	}

	public String getAuditStatus() {
		return this.auditStatus;
	}

	public void setAuditStatus(String auditStatus) {
		this.auditStatus = auditStatus;
	}

	public String getAuditUser() {
		return this.auditUser;
	}

	public void setAuditUser(String auditUser) {
		this.auditUser = auditUser;
	}


	public TDataAudit getDataAudit() {
        return dataAudit;
    }

    public void setDataAudit(TDataAudit dataAudit) {
        this.dataAudit = dataAudit;
    }

    public String getTaskName() {
		return this.taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

    
}